<html xmlns:th="http://www.thymeleaf.org" lang="zh">
<header class="main-header" th:fragment="top_nav">
    <!-- Logo -->
    <a href="/" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"></span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>控制台</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">切换导航</span>
        </a>
        <!-- 右侧菜单 -->
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
<!--                <li class="dropdown messages-menu">-->
<!--                    &lt;!&ndash; 未读信息 &ndash;&gt;-->
<!--                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">-->
<!--                        信息&nbsp;&nbsp;-->
<!--                        <i class="fa fa-envelope-o"></i>-->
<!--                        <span class="label label-success">4</span>-->
<!--                    </a>-->
<!--                </li>-->
<!--                &lt;!&ndash; 通知 &ndash;&gt;-->
<!--                <li class="dropdown notifications-menu">-->
<!--                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">-->
<!--                        通知&nbsp;&nbsp;-->
<!--                        <i class="fa fa-bell-o"></i>-->
<!--                        <span class="label label-warning">10</span>-->
<!--                    </a>-->
<!--                </li>-->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="/static/admin/dist/img/user2-160x160.jpg" class="user-image" alt="用户图像">
                        <span class="hidden-xs" th:text="${session.user.username}"></span>
                    </a>

                </li>
                <li class="dropdown">
                    <a href="/logout">退出</a>
                </li>
            </ul>
        </div>
    </nav>
</header>
</html>